Repository navigation
Conversation
Port the verified fix from commit cb9a865 (BUG-355833) to eliminate the 18px fixed gap that appears between the task manager and tray area in classic mode when overflow occurs. Root cause: dockLeftSpaceForCenter calculated the full screen remaining width instead of the taskmanager's actual available space, causing dockCenterPart to reserve more space than visible content in LeftAlignment overflow mode. Fix: replace dockLeftSpaceForCenter with a dynamic dockRemainingSpaceForCenter that subtracts other center applets' occupied space; simplify dockCenterPart.implicitWidth to centerLoader.implicitWidth; add delegate width shrink logic to distribute available space among app items. Log: fix extra gap between task manager and tray area in classic mode overflow Influence: classic mode overflow layout, classic mode non-overflow layout, fashion mode layout stability PMS: BUG-384747
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mhduiy The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Reviewer's GuideUICompute the task manager’s available center space, use it to size and shrink its app delegates, and let the center container reflect the resulting content size so overflow no longer leaves a fixed gap before the tray.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Contributor
Author
|
产品确认此问题为正确设计,无需修复,关闭此PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修复内容
移植 commit cb9a865(BUG-355833)方案,消除经典模式溢出时任务管理器与托盘区域的 18px 固定空白。
根因
dockLeftSpaceForCenter计算为整个屏幕剩余宽度而非任务管理器实际可用空间,导致 LeftAlignment 溢出模式下dockCenterPart预留空间比可见内容多 18px。修复方案
dockLeftSpaceForCenter替换为动态计算的dockRemainingSpaceForCenter(扣除其他中心区域插件占用空间)dockCenterPart.implicitWidth为centerLoader.implicitWidth影响范围
关联
Multica Issue: DDE-750
PMS: BUG-384747
Summary by Sourcery
Eliminate excess spacing in classic dock overflow layouts while preserving non-overflow and fashionable-mode behavior.
Bug Fixes:
Enhancements: